File: /var/www/html/orbidirectory.com/database/migrations/2025_03_28_122728_drop_reported_users.php
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::dropIfExists('reported_users'); // Replace 'table_name' with your table name
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::create('table_name', function (Blueprint $table) {
$table->id();
$table->string('name')->nullable(); // Name is optional
$table->string('email')->nullable(); // Email is optional
$table->string('region'); // Required
$table->string('file_path'); // Required
$table->timestamps();
});
}
};